<!DOCTYPE html>
<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
<head>
  <meta charset="utf-8">
  <meta name="generator" content="pandoc">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
$for(author-meta)$
  <meta name="author" content="$author-meta$">
$endfor$
$if(date-meta)$
  <meta name="dcterms.date" content="$date-meta$">
$endif$
$if(keywords)$
  <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
$endif$
  <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>

<!-- TODO check if math works with plotly  -->
<!-- Need to load plotly before Mathjax or pandoc equations don't work -->
$headerscript$

$if(math)$
<script type="text/javascript">
  var fileref=document.createElement('script')
  fileref.setAttribute("type","text/javascript")
  fileref.setAttribute("src", "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML")
  document.getElementsByTagName("head")[0].appendChild(fileref)
</script>
$endif$

$for(header-includes)$
  $header-includes$
$endfor$

$highlightcss$

$if(highlighting-css)$
<style type="text/css">
$highlighting-css$
</style>
$endif$

$for(css)$
  <link rel="stylesheet" href="$css$">
$endfor$

</head>
<body>
<div class ="container">
        <div class = "row">
            <div class = "col-md-12 twelve columns">

$for(include-before)$
$include-before$
$endfor$

$if(title)$

<h1 class="title">$title$</h1>
$if(subtitle)$
<h1 class="subtitle">$subtitle$</h1>
$endif$

<p><strong>Author:</strong>
$for(author)$
$author$
$endfor$
<br/>

$if(date)$
<strong>Date: </strong>$date$
$endif$
</p>
$endif$

$if(toc)$
<nav id="$idprefix$TOC">
$toc$
</nav>
$endif$
$body$
$for(include-after)$
$include-after$
$endfor$

<HR/>
<div class="footer"><p>
Published from <a href="$wsource$">$wsource$</a> using
<a href="http://github.com/mpastell/Weave.jl">Weave.jl</a> $wversion$ on $wtime$.
<p></div>

    </div>
  </div>
</div>
</body>
</html>
